﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TodoApp.TMS_settlement.Pays
{
    public class TMS_PayDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 业务单位
        /// </summary>
        public string Pay_Number { get; set; }
        /// <summary>
        /// 外协单位
        /// </summary>
        public string Pay_Company { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string Pay_Settlement { get; set; }
        /// <summary>
        /// 吨位
        /// </summary>
        public decimal Pay_Tonnage { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Pay_Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Pay_Amount { get; set; }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime Pay_Date { get; set; }
        public string Pay_Dates => Pay_Date.ToString("yyyy-MM-dd");
        /// <summary>
        /// 经办人
        /// </summary>
        public string Pay_Agent { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Pay_Note { get; set; }
        /// <summary>
        /// 核对状态
        /// </summary>
        public bool Pay_CheckState { get; set; } = false;
        /// <summary>
        /// 核对人
        /// </summary>
        public string Pay_CheckPeople { get; set; }
        public string name { get; set; }
        /// <summary>
        /// 核对日期
        /// </summary>
        public DateTime Pay_CheckDate { get; set; }
        public string Pay_CheckDates => Pay_CheckDate.ToString("yyyy-MM-dd");
        /// <summary>
        /// 删除
        /// </summary>
        public bool Pay_Delete { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Pay_DateTime { get; set; }
        public string Pay_DateTimes => Pay_DateTime.ToString("yyyy-MM-dd");
    }
}
